﻿using Windows.UI.Xaml.Controls;

// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
using Microsoft.Practices.Prism.Mvvm;
using Microsoft.Practices.Prism.Mvvm.Interfaces;
using Microsoft.Practices.Prism.StoreApps;
using Microsoft.Practices.Unity;

namespace CityDashboard.Views
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class MainPage : VisualStateAwarePage
    {

        public MainPage()
        {
            this.InitializeComponent();
        }

        private void Top10QGClick(object sender, Windows.UI.Xaml.RoutedEventArgs e)
        {
            var nav = (INavigationService)(App.Current as App).Container.Resolve(typeof(INavigationService));
            nav.Navigate("QuocGiaChiTiet", this.DataContext);
        }
    }
}
